package com.kaishun.study.filestrategy;

import com.kaishun.study.enums.CodeEnum;
import lombok.Getter;

/**
 * @Package: zhoukaishun.filestrategy
 * @ClassName: FileTypeEnum
 * @Author: zhoukaishun
 * @CreateTime: 2021/11/2 9:48
 * @Description: 文件解析类型
 */
@Getter
public enum FileTypeEnum implements CodeEnum {
    FILE_A_RESOLVE(1, ".doc"),
    FILE_B_RESOLVE(2, ".pdf"),
    FILE_C_RESOLVE(3, ".excl"),
    FILE_D_RESOLVE(4, ".jpg"),
    ;

    private Integer code;
    private String message;

    FileTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
